<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>
<head>
	<title>Cross-Browser Rich Text Editor</title>
	<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
	
	<!-- To decrease bandwidth, change the src to richtext_compressed.js //-->
<script language="JavaScript" type="text/javascript" src="richtext_compressed.js"></script>
<script language="JavaScript" type="text/javascript">

//Usage: initRTE(imagesPath, includesPath, cssFile)
initRTE("images/", "", "");

function showRTE() {
	//updateRTE('rte1');
	//alert("rte1 = " + document.RTEDemo.rte1.value);
	if (document.getElementById("form").style.display=="block"){
		document.getElementById("form").style.display="none";
	} else {
		document.getElementById("form").style.display="block";
	}
}
</script>
</head>
<body>

<p><input type="button" value="Get Value" onclick="showRTE()"></p>

<div id="form" style="display: none">
<script language="JavaScript" type="text/javascript">

//Usage: writeRichText(fieldname, html, width, height, buttons, readOnly)
writeRichText('rte1', 'here&#39;s the "<em>preloaded</em> <b>content</b>"', 400, 200, true, false);

</script>
</div>

</body>
</html>